<template>
<div>
<Suspense>
<template v-slot ;default>
< AsyneCom/>
</template>
<template v-slot :fallback>
<h2>LOADING......<h2>
</template>
</Suspense>
<div>
</template>
<script>
import {define AsyneComponent } from ' vue'
//定义一个异步组件 AsyneCom
const AsyneCom=define AsyncComponent(
    ()=>import("./componets/HelloCom.vue")
)
export default{
    componets:{
        AsyneCom
    }
}
</script>
<style scoped>
</style>